package com.demo;

import java.util.StringJoiner;

public class WareProp {

    private String code;
    private String propName;
    private String propVal;

    public WareProp() {
    }

    public WareProp(String code, String propName, String propVal) {
        this.code = code;
        this.propName = propName;
        this.propVal = propVal;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPropName() {
        return propName;
    }

    public void setPropName(String propName) {
        this.propName = propName;
    }

    public String getPropVal() {
        return propVal;
    }

    public void setPropVal(String propVal) {
        this.propVal = propVal;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", WareProp.class.getSimpleName() + "[", "]")
                .add("code='" + code + "'")
                .add("propName='" + propName + "'")
                .add("propVal='" + propVal + "'")
                .toString();
    }
}
